(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

mul0(Cons(x, xs), y) → add0(mul0(xs, y), y)
add0(Cons(x, xs), y) → add0(xs, Cons(S, y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Rewrite Strategy: INNERMOST

(1) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(2) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

mul0(Cons(x, xs), y) → add0(mul0(xs, y), y)
add0(Cons(x, xs), y) → add0(xs, Cons(S, y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

S is empty.
Rewrite Strategy: INNERMOST

(3) SlicingProof (LOWER BOUND(ID) transformation)

Sliced the following arguments:
Cons/0

(4) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

S is empty.
Rewrite Strategy: INNERMOST

(5) TypeInferenceProof (BOTH BOUNDS(ID, ID) transformation)

Infered types.

(6) Obligation:

Innermost TRS:
Rules:
mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Types:
mul0 :: Cons:Nil → Cons:Nil → Cons:Nil
Cons :: Cons:Nil → Cons:Nil
add0 :: Cons:Nil → Cons:Nil → Cons:Nil
Nil :: Cons:Nil
goal :: Cons:Nil → Cons:Nil → Cons:Nil
hole_Cons:Nil1_1 :: Cons:Nil
gen_Cons:Nil2_1 :: Nat → Cons:Nil

(7) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
mul0, add0

They will be analysed ascendingly in the following order:
add0 < mul0

(8) Obligation:

Innermost TRS:
Rules:
mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Types:
mul0 :: Cons:Nil → Cons:Nil → Cons:Nil
Cons :: Cons:Nil → Cons:Nil
add0 :: Cons:Nil → Cons:Nil → Cons:Nil
Nil :: Cons:Nil
goal :: Cons:Nil → Cons:Nil → Cons:Nil
hole_Cons:Nil1_1 :: Cons:Nil
gen_Cons:Nil2_1 :: Nat → Cons:Nil

Generator Equations:
gen_Cons:Nil2_1(0) ⇔ Nil
gen_Cons:Nil2_1(+(x, 1)) ⇔ Cons(gen_Cons:Nil2_1(x))

The following defined symbols remain to be analysed:
add0, mul0

They will be analysed ascendingly in the following order:
add0 < mul0

(9) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
add0(gen_Cons:Nil2_1(n4_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(+(n4_1, b)), rt ∈ Ω(1 + n41)

Induction Base:
add0(gen_Cons:Nil2_1(0), gen_Cons:Nil2_1(b)) →RΩ(1)
gen_Cons:Nil2_1(b)

Induction Step:
add0(gen_Cons:Nil2_1(+(n4_1, 1)), gen_Cons:Nil2_1(b)) →RΩ(1)
add0(gen_Cons:Nil2_1(n4_1), Cons(gen_Cons:Nil2_1(b))) →IH
gen_Cons:Nil2_1(+(+(b, 1), c5_1))

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(10) Complex Obligation (BEST)

(11) Obligation:

Innermost TRS:
Rules:
mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Types:
mul0 :: Cons:Nil → Cons:Nil → Cons:Nil
Cons :: Cons:Nil → Cons:Nil
add0 :: Cons:Nil → Cons:Nil → Cons:Nil
Nil :: Cons:Nil
goal :: Cons:Nil → Cons:Nil → Cons:Nil
hole_Cons:Nil1_1 :: Cons:Nil
gen_Cons:Nil2_1 :: Nat → Cons:Nil

Lemmas:
add0(gen_Cons:Nil2_1(n4_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(+(n4_1, b)), rt ∈ Ω(1 + n41)

Generator Equations:
gen_Cons:Nil2_1(0) ⇔ Nil
gen_Cons:Nil2_1(+(x, 1)) ⇔ Cons(gen_Cons:Nil2_1(x))

The following defined symbols remain to be analysed:
mul0

(12) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
mul0(gen_Cons:Nil2_1(n458_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(*(n458_1, b)), rt ∈ Ω(1 + b·n45812 + n4581)

Induction Base:
mul0(gen_Cons:Nil2_1(0), gen_Cons:Nil2_1(b)) →RΩ(1)
Nil

Induction Step:
mul0(gen_Cons:Nil2_1(+(n458_1, 1)), gen_Cons:Nil2_1(b)) →RΩ(1)
add0(mul0(gen_Cons:Nil2_1(n458_1), gen_Cons:Nil2_1(b)), gen_Cons:Nil2_1(b)) →IH
add0(gen_Cons:Nil2_1(*(c459_1, b)), gen_Cons:Nil2_1(b)) →LΩ(1 + b·n4581)
gen_Cons:Nil2_1(+(*(n458_1, b), b))

We have rt ∈ Ω(n3) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n3).

(13) Complex Obligation (BEST)

(14) Obligation:

Innermost TRS:
Rules:
mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Types:
mul0 :: Cons:Nil → Cons:Nil → Cons:Nil
Cons :: Cons:Nil → Cons:Nil
add0 :: Cons:Nil → Cons:Nil → Cons:Nil
Nil :: Cons:Nil
goal :: Cons:Nil → Cons:Nil → Cons:Nil
hole_Cons:Nil1_1 :: Cons:Nil
gen_Cons:Nil2_1 :: Nat → Cons:Nil

Lemmas:
add0(gen_Cons:Nil2_1(n4_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(+(n4_1, b)), rt ∈ Ω(1 + n41)
mul0(gen_Cons:Nil2_1(n458_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(*(n458_1, b)), rt ∈ Ω(1 + b·n45812 + n4581)

Generator Equations:
gen_Cons:Nil2_1(0) ⇔ Nil
gen_Cons:Nil2_1(+(x, 1)) ⇔ Cons(gen_Cons:Nil2_1(x))

No more defined symbols left to analyse.

(15) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n3) was proven with the following lemma:
mul0(gen_Cons:Nil2_1(n458_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(*(n458_1, b)), rt ∈ Ω(1 + b·n45812 + n4581)

(16) BOUNDS(n^3, INF)

(17) Obligation:

Innermost TRS:
Rules:
mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Types:
mul0 :: Cons:Nil → Cons:Nil → Cons:Nil
Cons :: Cons:Nil → Cons:Nil
add0 :: Cons:Nil → Cons:Nil → Cons:Nil
Nil :: Cons:Nil
goal :: Cons:Nil → Cons:Nil → Cons:Nil
hole_Cons:Nil1_1 :: Cons:Nil
gen_Cons:Nil2_1 :: Nat → Cons:Nil

Lemmas:
add0(gen_Cons:Nil2_1(n4_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(+(n4_1, b)), rt ∈ Ω(1 + n41)
mul0(gen_Cons:Nil2_1(n458_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(*(n458_1, b)), rt ∈ Ω(1 + b·n45812 + n4581)

Generator Equations:
gen_Cons:Nil2_1(0) ⇔ Nil
gen_Cons:Nil2_1(+(x, 1)) ⇔ Cons(gen_Cons:Nil2_1(x))

No more defined symbols left to analyse.

(18) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n3) was proven with the following lemma:
mul0(gen_Cons:Nil2_1(n458_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(*(n458_1, b)), rt ∈ Ω(1 + b·n45812 + n4581)

(19) BOUNDS(n^3, INF)

(20) Obligation:

Innermost TRS:
Rules:
mul0(Cons(xs), y) → add0(mul0(xs, y), y)
add0(Cons(xs), y) → add0(xs, Cons(y))
mul0(Nil, y) → Nil
add0(Nil, y) → y
goal(xs, ys) → mul0(xs, ys)

Types:
mul0 :: Cons:Nil → Cons:Nil → Cons:Nil
Cons :: Cons:Nil → Cons:Nil
add0 :: Cons:Nil → Cons:Nil → Cons:Nil
Nil :: Cons:Nil
goal :: Cons:Nil → Cons:Nil → Cons:Nil
hole_Cons:Nil1_1 :: Cons:Nil
gen_Cons:Nil2_1 :: Nat → Cons:Nil

Lemmas:
add0(gen_Cons:Nil2_1(n4_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(+(n4_1, b)), rt ∈ Ω(1 + n41)

Generator Equations:
gen_Cons:Nil2_1(0) ⇔ Nil
gen_Cons:Nil2_1(+(x, 1)) ⇔ Cons(gen_Cons:Nil2_1(x))

No more defined symbols left to analyse.

(21) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
add0(gen_Cons:Nil2_1(n4_1), gen_Cons:Nil2_1(b)) → gen_Cons:Nil2_1(+(n4_1, b)), rt ∈ Ω(1 + n41)

(22) BOUNDS(n^1, INF)